﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="loginForm.aspx.cs" Inherits="adm_vlg_loginForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Login Form</title>
    <link href="style_adm.css" rel="stylesheet" type="text/css" />
    <link href="adm_master.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function ktra() {
            if ($(".tUsr").val() == "") {
                alert("Hãy nhập tên người dùng");
                $(".tUsr").focus();
                return false;
            }
            if ($(".tPax").val() == "") {
                alert("Hãy nhập mật khẩu");
                $("tPax").focus();
                return false;
            }
        }
    </script>
</head>
<body style="background: #f3f6f4;">
    <form id="form1" runat="server">
    <div class="logindn" style="margin-top: 155px">
    </div>
    <div class="loginform">
        <div class="tieude_dn">
            Đăng nhập</div>
        <table style="width: 100%;">
            <tr>
                <td>
                    Tên Đăng Nhập :
                </td>
                <td>
                    <asp:TextBox ID="txtU" CssClass="tUsr" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtU"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Mật khẩu :
                </td>
                <td>
                    <asp:TextBox TextMode="Password" ID="txtP" CssClass="tPax" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtP"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btn_dn" runat="server" Text="Đăng nhập" Height="27px" Width="100px"
                        OnClick="btn_dn_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: center; line-height: 20px;">
                    <asp:Label ID="Label1" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
